package cn.wtg.kotlindemo.testBinding

import android.os.Bundle
import cn.wtg.kotlindemo.R
import cn.wtg.kotlinlib.baseUi.BaseBindingActivity
import cn.wtg.kotlindemo.databinding.ActivityBindingBinding

/**
 * author: wtg
 * time: 2022/11/28
 * desc:
 */
class BindingActivity : BaseBindingActivity<ActivityBindingBinding>() {

    override fun getLayoutRes(): Int {
        return R.layout.activity_binding
    }
    override fun initView(savedInstanceState: Bundle?) {
        binding?.tvBinding?.setOnClickListener {
            binding?.tvBinding!!.text = "改变了值"
        }
    }
}